Fichier:Airydisk cuberoot.png
Le contenu de la page n’est pas pris en charge dans d’autres langues.
Un livre de Wikilivres.
Airydisk_cuberoot.png (600 × 600 pixels, taille du fichier : 35 kio, type MIME : image/png)
Ce fichier et sa description proviennent de Wikimedia Commons. | Accéder au fichier sur Commons |
Description
DescriptionAirydisk cuberoot.png |
English: Airy disk. Diffraction pattern of a point light-source seen through a round aperture.
|
Date | |
Source | Travail personnel |
Auteur | Geek3 |
Autres versions |
Source Code
The image was generated by the following python script using scipy and PIL
Python source code - click on the right to view |
---|
airydisks_rayleigh_sqrt.py: |
#!/usr/bin/env python
# -*- coding: utf8 -*-
'''
Copyright (C) 2010 Wikimedia Foundation
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
'''
from math import *
import scipy
import scipy.special
from PIL import Image
w = 600
h = 600
image = scipy.zeros((h, w))
scalex = scipy.special.jn_zeros(1, 3)[-1]
scaley = h * scalex / w
# make dark areas much better visible
color_func = lambda x: x ** (1.0 / 3.0)
for y in range(h):
for x in range(w):
xx = ((x + .5) / w - .5) * 2. * scalex
yy = ((y + .5) / h - .5) * 2. * scaley
r = hypot(xx, yy)
v = .5
if r != 0.: v = (scipy.special.j1(r) / r) ** 2
image[y, x] = color_func(v)
max_val = image.max()
# write image to file
image_file = Image.new('L', (w, h))
for y in range(h):
for x in range(w):
c = int(2**8 * image[y, x] / max_val)
image_file.putpixel((x, y), c)
image_file.save('Airydisk_cuberoot.png', 'PNG')
|
Conditions d’utilisation
Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous les licences suivantes :
Vous avez la permission de copier, distribuer et modifier ce document selon les termes de la GNU Free Documentation License version 1.2 ou toute version ultérieure publiée par la Free Software Foundation, sans sections inaltérables, sans texte de première page de couverture et sans texte de dernière page de couverture. Un exemplaire de la licence est inclus dans la section intitulée GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution 3.0 Non transposée.
- Vous êtes libre :
- de partager – de copier, distribuer et transmettre cette œuvre
- d’adapter – de modifier cette œuvre
- Sous les conditions suivantes :
- paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
Vous pouvez choisir l’une de ces licences.
Éléments décrits dans ce fichier
dépeint
Valeur sans élément de Wikidata
juillet 2010
image/png
efc58e2da29f7890ac8ed7e9960e7f04e3803863
36 241 octet
600 pixel
600 pixel
Historique du fichier
Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.
Date et heure | Vignette | Dimensions | Utilisateur | Commentaire | |
---|---|---|---|---|---|
actuel | 19 juillet 2010 à 23:21 | 600 × 600 (35 kio) | Geek3 | Airydisk cuberoot |
Utilisation du fichier
La page suivante utilise ce fichier :
Usage global du fichier
Les autres wikis suivants utilisent ce fichier :
- Utilisation sur de.wikibooks.org
Récupérée de « https://fr.wikibooks.org/wiki/Fichier:Airydisk_cuberoot.png »